import acombineURLs from 'axios/lib/helpers/combineURLs'

export const combineURLs=acombineURLs

export function openWindow(protocal,host,path){
  window.open(combineURLs(protocal+'//'+host,path))
}

export function openCurrentWindow(path){
  openWindow(location.protocol,location.host,path)
}
